package com.tuerks.sbahn;

import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;

public class FilterActivity extends Activity {

	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		// read prefs
		SharedPreferences myPrefs = this.getSharedPreferences("myPrefs",
				MODE_WORLD_READABLE);
		String filter = myPrefs.getString("filter", "");
		SharedPreferences.Editor prefsEditor = myPrefs.edit();
		prefsEditor.putString("filter", filter);
		prefsEditor.commit();
		startActivity(new Intent(this, MainActivity.class));

	}

}
